package com.qj.travel.service.impl;

import com.qj.travel.db.dao.AdminDao;
import com.qj.travel.db.model.AdminModel;
import com.qj.travel.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Admin on 2016/10/11.
 */
@Service
public class AdminServiceImpl implements AdminService {
    @Autowired
    private AdminDao adminDao;

    public AdminModel getAdmin(String username) {
        return adminDao.getAdmin(username);
    }

    public String getPasswd(String username) {
        return adminDao.getPasswd(username);
    }
}
